package com.xuecheng.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.api.content.teachplan.dto.TeachplanDTO;
import com.xuecheng.api.content.teachplan.vo.TeachplanVO;
import com.xuecheng.api.media.dto.TeachplanlMediaDTO;
import com.xuecheng.content.entity.Teachplan;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;


/**
 * <p>
 * 课程计划 服务类
 * </p>
 *
 * @author xuan
 * @since 2021-12-11
 */
public interface TeachplanService extends IService<Teachplan> {


        TeachplanDTO queryTreeNodesByCourseId( Long courseId,  Long companyId);


        TeachplanDTO createOrModifyTeachPlan(TeachplanDTO teachplanDTO,Long companyId);

        void deleteById( Long teachPlanId , Long companyId );

        TeachplanlMediaDTO associateMedia(TeachplanlMediaDTO dto,Long companyId);
}
